Cleaning up the git directory