Contents
You can check whether Git is installed and what version you are using by opening up a terminal window in Linux or Mac, or a command prompt window in Windows, and typing the following command: git –version.
How do I find my git path in Linux?
1 Answer
- Find the path where you installed it and do something like this to add it to the path and set in your profile: echo ‘export PATH=/usr/local/git/bin:$PATH’ >> ~/.profile.
- Then make sure you restart terminal before trying to run any git commands.
18 окт. 2011 г.
How do I know where Git is installed?
The default path on windows is C:Program Files (x86)Git .