Adding exception catching for git connexions