git commands are relatively fast, especially ones like `show-ref`, lets just remove it.