Dealing with default arguments for git_headref function.