Merge pull request #949 from nulltoken/topic/deploy_repository_set_head Deploy git_repository_set_head()