

If you need to install Git, your terminal shows the following error: -bash: git: command not found If the output shows a Git version (see example below), you already have Git installed on your Linux machine. Some Linux distributions have Git preinstalled: git -version Check if Git is already installed on Linuxīefore you begin, check whether Git is already installed on your computer by issuing the example command in your terminal. This section shows you how you can install Git on Ubuntu, CentOS, Fedora, and Arch Linux.

The steps for installing Git on Linux depend on which Linux distribution you are using. You should have a working Git installation on your Windows machine. When you are done selecting your configuration options, click Install at the end.Ĭlick on Finish.
:max_bytes(150000):strip_icc()/LiveUbuntuDesktop-588b9baf3df78caebc598b2e.jpg)
This subreddit is not endorsed or sponsored by Apple Inc.Select your terminal emulator, default behavior of git pull, and some extra configuring options.įor the simplest installation, keep MinTTY for the terminal emulator, use the default behavior (fast-forward or merge), and enable file system caching in configuring extra options. If you'd like to view their content together, click here. This fundamental difference in audience is why we support two communities, r/Apple and r/AppleHelp. Apple SubredditsĬontent which benefits the community (news, rumors, and discussions) is valued over content which benefits only the individual (technical questions, help buying/selling, rants, etc.). Not sure what to buy?Īsk in our Daily Advice Thread or in our dedicated sister sub /r/AppleWhatShouldIBuy! See also the iPhone Upgrade Wiki for more information.
