/    /  Git – Installation (Windows, Linux & Mac)

Git Installation

 

Git Installation on WindowsGit Installation on Windows

  1. Visit the official Git website: https://git-scm.com/downloads
  2. Allow the download for Windows to complete by clicking the download link.

Git Installation on Windows

Install Git by extracting and running it

3. Go to the download location (or use your browser’s download shortcut). Double-click the file to install it.

Git Installation on Windows

4. Click Yes on the User Account Control dialog that opens to allow the app to make changes.

Git Installation on Windows

5. Click Next when you’re ready to install GNU General Public License.

Git Installation on Windows

6. Leave the default installation location, unless you need to change it, and click Next.

Git Installation on Windows

7. You will see a component selection screen. Click Next unless you have a specific reason to change the defaults.

Git Installation on Windows

8. Click Next to create a start menu folder.

Git Installation on Windows

9. Use the drop-down menu to select Notepad++ (or whatever text editor you like) and click Next.

Git Installation on Windows

10. Click Next and choose a name for your initial branch. The default is master. If you’re on a team that needs a different name, leave it at that.

Git Installation on Windows

11. When you run a command from the command line, the PATH environment is the default set of directories included. Click Next and leave this in the middle (recommended).

Git Installation on Windows

Certificates, line endings, and terminal emulators

12. Git already comes with its own SSH client, so just click Next if you don’t need one.

Git Installation on Windows

13. Click Next to proceed. You might need Windows Store certificates if you’re working in an Active Directory environment.

Git Installation on Windows

14. Click Next to convert line endings. Changes to this option may cause problems with the way data is formatted.

Git Installation on Windows

15. Click Next to choose a terminal emulator. MinTTY is recommended for its features.

Git Installation on Windows

16. If you don’t specifically need to change the behavior of the git pull command, click Next to continue.

Git Installation on Windows

17. Next, choose a credential helper. Git uses credential helpers to fetch or save credentials.

Git Installation on Windows

Customization options

18. This step lets you choose which extra options you want to enable. If you want symbolic links, which are like shortcuts for the command line, check the box.

Git Installation on Windows

19. Git may offer to install experimental features depending on the version you’re installing. This article was written when pseudo controls were available and a file system monitor was available. Unless you’re feeling adventurous, leave them unchecked and click Install.

Git Installation on Windows

The complete Git installation process

20. Click Finish to view the Release Notes and launch Git Bash once the installation is complete.

Git Installation on Windows

Windows Git Launcher

There’s a bash scripting shell (or command line) and a graphical user interface (GUI).

Launch Git Bash Shell

Go to the Windows Start menu, type git bash, then press Enter (or click the icon).

Git Installation on Windows

Git GUI launch

Launch Git GUI from the Windows Start menu by typing git gui and hitting Enter (or clicking the icon).

Git Installation on Windows

 

Git Installation for Linux (Ubuntu) Allow the download for Windows to complete by clicking the download link.

1.Run the following command in a terminal window (Ctrl+Alt+T) to update the system package index:

sudo apt update

The package index ensures that you are working with the latest versions of software.

u2

2. Using the default Ubuntu repository, install Git:

sudo apt install git

Install by pressing y(yes).

Let the process run its course.

3. Run the following commands to verify the installation and version:

git --version

If the program has been installed correctly, the output shows the version.