# Git

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/idea/2026.3/llms.txt).

Git

How to efficiently use Git integration in IntelliJ IDEA

- [Set up a Git repository](set-up-a-git-repository.html): Clone a repository or put your local project under Git version control
- [Manage Git branches](manage-branches.html): Create, rename, check out, and compare branches

## Sync with a remote repository

- [Sync with a remote Git repository (fetch, pull, update)](sync-with-a-remote-repository.html): Update a branch or a whole project
- [Commit and push changes to Git repository](commit-and-push-changes.html): Share the results of your work
- [Merge, rebase, or cherry-pick to apply changes](apply-changes-from-one-branch-to-another.html): Integrate your changes from one branch into another
- [Resolve Git conflicts](resolve-conflicts.html): Use IntelliJ IDEA tools for resolving conflicts locally

## Work with changes

- [Add files to Git and track changes](adding-files-to-version-control.html): Track changes to a file in the editor
- [Undo changes in Git repository](undo-changes.html): Revert uncommitted or pushed changes
- [Group changes into changelists](managing-changelists.html): Manage local changes before committing them to a repository
- [Shelve or stash changes](shelving-and-unshelving-changes.html): Shelve or stash your pending changes

## View and edit history

- [Investigate changes in Git repository](investigate-changes.html): Enable annotations and trace back all changes in the log tab
- [Edit Git project history](edit-project-history.html): Edit commit messages, amend, squash, and drop commits
- [Compare file and folder versions using Diff viewer](comparing-file-versions.html): Examine the differences between two revisions of a file/folder

## Review code

- [Review incoming GitHub pull requests](work-with-github-pull-requests.html): Create, review, comment, and merge pull requests
- [Review incoming GitLab merge requests](work-with-gitlab-merge-requests.html): Create, review, comment, and accept merge requests

