As part of the programming module you study on the course, you will be tasked with using the Git version control system to complete lab activities and your assessments.
In this guide, you shall be taken through the journey of installing Git for the Microsoft Windows operating system.
Before you can begin using Git for the programming modules and backing up your solutions to lab activities and assignments, you will need to download the Git installer from the following link:
Once the Git Tool executable file has been downloaded, you can proceed with installing the package on your Windows machine. During the installation process, you will want to ensure you do not change any of the settings. The default settings for installation will be acceptable.
To confirm that everything is working as expected, you will need to perform a quick check using the command-line
interface. To perform this check, open Developer Command Prompt for VS 2022 by searching for cmd
in the
Start Menu.
Important
It is very important you select the option with Developer Command Prompt for VS 2022. If you do not select this option, you cannot use the C++ toolset from the terminal window.
With the command-line interface open, you can type the command git -v
and the Git tool should print the version
number to the screen. It will be similar to the following output:
If you are met with a similar display, then the Git tool has been installed successfully on your machine.
That is the end of this guide on installing Git. If you have followed all the necessary steps correctly, you should have a fully functional implementation of Git which will enable you to complete any necessary programming-based activities and assessments you will participate with on this course.
If you have spotted any errors or issues within this tutorial, you can e-mail Dr Ian Cornelius. Ensure to include in your message a description of the error or issue and a possible resolution. Also remember to include a URL to the page with the issue or error.