Install Git and Python

Git is the software used to maintain version control for lots of projects. Usually it is for source control for development products, it works equally well for maintaining configuration changes. While it can be used for binary as well as text data, Git’s power is shown through best when working with text based documents. Commit changes and version differences can be seen very clearly in these cases. We need it for VS Code to be able to save changes to the git repos.

We’ll also install python. We don’t strictly need it since we are using python under docker to build the html and pdf package but it’s nice to have python installed because VS Code and some of the extensions require python to run.

This part of the document describes the installation process for these two pieces of software on windows.

Download Git

_images/14-Install-Git.png
  1. Navigate to https://git-scm.com/download/win

  2. Click on the ‘Click here to download’ link to get the latest version of git for windows.

Continue Installation

Most options are default.

_images/15.png

Next

_images/16.png

Next

_images/17.png

Next

_images/18.png

Next

_images/19.png

Select Notepad for git’s default editor. (It is hardly used).

_images/20.png

Next

_images/21.png

Next

_images/22.png

Next

_images/23.png

Next

_images/24.png

Next

_images/25.png

Next

_images/26.png

Next

_images/27.png

Next

_images/28.png

Next

_images/29.png

Next

_images/30.png

Next

_images/31.png

Wait for installation to finish

_images/32.png

Click Finish

Setup Git user

_images/47-SetUpGit.png

Type ‘git’ into the windows search bar and run Git CMD.

_images/48.png

Execute the commands:

git config --global user.email "<Email Address>"
git config --global user.name "<Full Name>"

Download Github CLI

_images/49-GithubCLI.png

Github CLI are some CLI tools to help git authenticate seemlessly to GitHub.

  1. Navigate to https://cli.github.com/

  2. Click on “Download for Windows” to get the latest windows package.

Continue Installation

Most options are default.

_images/50.png

Next

_images/51.png

Next

_images/52.png

Install (You will probably have to confirm changes)

_images/53.png

Finish

Download Python

_images/67-Install-Python.png
  1. Navigate to https://python.org/download

  2. Click on the ‘Download Python XXX’ link to get the latest version of python for windows.

_images/68.png

Make sure to select: “Add python.exe to PATH” and click “Customize installation”.

_images/69.png

Make sue all ‘Optional Features’ are checked and click “Next”.

_images/70.png

Make sure “Associate Files”, “Create shortcuts” and “Add Python to environment variables” are all checked and click “Install”.

_images/72.png

When the installation is complete, click Close.