refactoring Repository_git_reference_symbolic_create