1# Git
2
3Zed currently supports the following Git features:
4
5- Diff indicators in buffers and editor scrollbars
6- Inline diff toggle and reverts in the editor for unstaged changes
7- Git status in the project panel
8- Branch creating and switching
9- Git blame viewing
10
11More advanced Git features—like staging and committing changes or viewing history within Zed—will be coming in the future.
12
13<!--
14## Git Hunk Navigation
15
16TBD: Explain Git Hunks
17
18- Navigating hunks
19- Expanding hunks
20- Reverting hunks
21-->
22
23## Git Integrations
24
25Zed integrates with popular Git hosting services to ensure that git commit hashes
26and references to Issues / Pull Requests / Merge Requests become clickable links.
27Zed currently support links to the hosted versions of
28[GitHub](https://github.com),
29[GitLab](https://gitlab.com),
30[Bitbucket](https://bitbucket.org),
31[SourceHut](https://sr.ht) and
32[Codeberg](https://codeberg.org).
33
34Zed also has a Copy Permalink feature to create a permanent link to a code snippet on your Git hosting service.
35These links are useful for sharing a specific line or range of lines in a file at a specific commit.
36Trigger this action via the [Command Palette](./getting-started.md#command-palette) (search for `permalink`),
37by creating a [custom key bindings](key-bindings.md#custom-key-bindings) to the
38`editor::CopyPermalinkToLine` or `editor::OpenPermalinkToLine` actions
39or by simply right clicking and selecting `Copy Permalink` with line(s) selected in your editor.