CmdID / Commands
Print the root directory of the current Git repository. tldr-pages
On several platforms
Opens CmdID with your command. It is read in your browser and sent nowhere.
Print the root directory of the current Git repository. Part of git-extras.
Print the absolute path of the current Git repository
git root
Print the current working directory relative to the root of the current Git repository
git root --relative