Closes a Git repository.