---
title: Git credentials
description: Documentation for Git credentials. Use these credentials to authenticate Git in n8n, a workflow automation platform.
contentType: [integration, reference]
---

# Git credentials

You can use these credentials to authenticate the following nodes:

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

## Prerequisites

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

- Basic auth

## Related resources

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

## Using basic auth

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

