The passwords will be stored in .git/config, so what we need to do is:
- find all files in the current directory that match '*/.git/config',
- swap out the old password for the new…
- making a backup of the original,
- and the display the names of the files that have been changed for double-checking