On a production server when I try to restore a repo, it is not the latest master which is retrieved?
The repo on the production is bare
cd /var/git_rep