Refactored git commands.
Graceful failure if there's no server config file.