> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/platform/guides/operations-guide/gitops/git-client-installation.md).

# Git Client installation

* GitHub is an open source tool which helps the developers to manage, store, track and control changes in their code. If we want to clone(copy) the data from GItHub we need to install Git.
* There are some alternatives for GitHub like GitLab, Bitbucket. But many developers prefer GitHub because it's more popular and they are used to the navigation. So we are using Git in **DIGIT**
* GitHub is used to create Individual projects.

### Checking for Git:

To check whether Git is already installed in your systems, open in terminal.

* If you are in Mac, look for the command prompt application called "Terminal".
* If you are in Windows, open the windows command prompt or "Git Bash".
* Type the below command:

<pre data-overflow="wrap"><code><strong>git version
</strong></code></pre>

### Installing Git on Linux:

#### Ubuntu:

In Ubuntu using terminal we can directly install Git using terminal.

* Go to command prompt shell and run the following command to make sure everything is up-to-date.

{% code overflow="wrap" %}

```
sudo apt-get update
```

{% endcode %}

* After that run the following command to install Git.

```
sudo apt-get install git-all
```

* Once the command output has completed, verify the installation using

```
git version
```

### Installing Git on Windows and Mac:

* Go to the following page to download the Git latest version:\
  For Windows:\
  <https://gitforwindows.org/>\
  \
  For Mac:\
  <https://sourceforge.net/projects/git-osx-installer/files/git-2.23.0-intel-universal-mavericks.dmg/download?use_mirror=autoselect>
* Once the installation is done, open the windows command prompt or Git Bash and type

```
git version
```

###


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.digit.org/platform/guides/operations-guide/gitops/git-client-installation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
