Find a way/script/tool to compare all repository sources with a local dir

I may change my local files without even rememering. So there should be a tool to check differences. Any help on GitLab or what ever may enable this is welcome

Edited by Karl-Josef Adler