Contents
6 Answers. Like most executables, git is installed in /usr/bin/git .
How do I find my git path Ubuntu?
Git executable can be found by using running git –exec-path, which usually lives in the Git execution path. git –exec-path will give you the path.
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.