Those of you that have been following me for a while know that I’ve grown up with VSTS/TFS. Team Foundation Version Control was the first version control system I ever seriously used, besides “file folders” (you know what I mean ). So it has a very special place in my heart. That said, its obvious that Git has taken over the world, and I’ve finally accepted that I need to learn it. So here I am.
Obviously, my first step toward learning and using Git will be installing Git. Makes sense.
The Git for Windows installation installs a version of Git that also includes a Bash(Unix) shell that runs on top of Windows and provides a Unix-Style interface to Git. Git can also be integrated with Windows Explorer and the command prompt. Sweet, I’ll have multiple options.
To download Git for Windows, go to http://git-scm.com/download/win. The download will start automatically. In my case, it downloaded a file named Git-2.13.3-64-bit.exe. I double-clicked this file to run it.
First up is the license agreement. Click Next.
Next is the location for the installation. I kept the default location. Click Next.
Here you can select the different components to install. This shows the default view of this page. I didn’t make any changes on this page. Click Next.
This page allows you to create a Start Menu folder. I took the defaults. Click Next.
I went with the default here, as it provides the flexibility to use Git in either or both the Bash shell and the Windows command prompt. Click Next.
I took the defaults here. Click Next.
This page refers to how you want Git to handle line endings in files when getting content out of Git or putting content into Git. I’m planning to use Windows editors, so I’ll take the default settings. Click Next.
I took the defaults for the terminal emulator. Click Next.
I took the defaults here as well. Click Install.
Git has finished installing. I’m going to uncheck View Release Notes and click Finish.
I can see it installed three things. I’m going to open the Git CMD window first.
Looks like a command window to me.
I run the command git –version. Everything seems to be working.
Here is the Git Bash shell.
I like the Git Bash shell, in that the color coding will provided some added help in working with Git.
So, getting Git installed on my Windows laptop was relatively easy. Next up, time to do some initial configuration of the client.