GIT Instructions and Implementation

GIT is a distributed version control system for managing source code changes. It enables handling different code versions and maintaining historical information.

Installation

To start using GIT, it must first be installed on the computer.

Windows Installation and Tips

After installation on Windows machines, you should execute:

PS C:\Users\me> git config --global core.sshCommand "'C:\Windows\System32\OpenSSH\ssh.exe'"

This allows Git to use OpenSSH installed as a Windows feature instead of its own.

If you do development work on this machine, you should specify your name and email in GIT as follows:

PS C:\Users\me> git config --global user.name "Meikä Läinen"
PS C:\Users\me> git config --global user.email "email@example.com"

Usage

Once GIT is installed and added to the PATH, it can be used directly from the command line (e.g., CMD, Bash, PowerShell).

Alternatively, GIT can also be used with graphical tools.

Commonly used code editors also provide their tools for using version control, for example:

Materials

Helpful Additional Tools

Windows:

Linux:

Mac: