- [...] or: git rev-parse --sq-quote [...] or: git rev-parse [] [...] Run "git rev-parse --parseopt -h" for more information on the first usage.