Users can install Git either globally or locally. Git will be installed under the /usr/bin/git directory if you’re going with the global method. This can always be double-checked using the whereis git command, showing the exact Git installation directory. However, if users use the local installation method, Git will only work on that particular directory. For example, if a user installs Git on the /home/username directory, they will need to navigate to this directory to use Git.