Backup of git repositories with "amend" commits not working
The current git clone strategy doesn't work well if someone modifies the history of the repository on the production server.
As Alesssandro recommends, we should clone all repositories with the "--bare" option and the execute "git fetch" for updating the backup copy.