Updating to use git_ref