Install Git
Install Git for version control and collaboration on your documentation.
What is Git
Git is a version control system that helps you track changes to your documentation, collaborate with others, and deploy your site.
Why use Git?
- Version History: Track every change to your documentation
- Collaboration: Work with team members on the same documentation
- Backup: Keep your documentation safe in remote repositories
- Deployment: Many hosting platforms integrate with Git for automatic deployments
Download Git
Visit the official Git website: https://git-scm.com/
Download the installer for your operating system:
- Windows: Download the Windows installer
- macOS: Download the macOS installer
- Linux: Use your distribution’s package manager or follow the Linux instructions on the website
Install Git
Run the installer and follow the recommended options.
Note
For most users, the default settings are sufficient. You do not need to customize anything during installation.
Verify the installation
After installation is complete, verify that Git is installed correctly.
- Open your code editor
- Open the built-in terminal
- Run the following command:
Bash
git --versionIf Git is installed correctly, you should see a version number printed to the screen.
Next steps
With Git installed, you're ready to:

