> For the complete documentation index, see [llms.txt](https://docs.n8n.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.n8n.io/integrations/builtin/credentials/git.md).

# Git credentials

You can use these credentials to authenticate the following nodes:

* [Git](/integrations/builtin/core-nodes/n8n-nodes-base.git.md)

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

Create an account on [GitHub](https://github.com), [GitLab](https://about.gitlab.com/), or similar platforms for use with [Git](https://git-scm.com).

## Supported authentication methods <a href="#supported-authentication-methods" id="supported-authentication-methods"></a>

* Basic auth

## Related resources <a href="#related-resources" id="related-resources"></a>

Refer to [Git's documentation](https://git-scm.com/doc) for more information about the service.

## Using basic auth <a href="#using-basic-auth" id="using-basic-auth"></a>

To configure this credential, you'll need:

* A **Username** for GitHub, GitLab, or a similar platform
* A **Password** for GitHub, GitLab, or a similar platform
