Simplify the logic around the git_clone_update function
Improve the error handling logic and print appropriate output messages (on exceptions)