docs: Add Git page (#14582)

Marshall Bowers created

This PR adds a basic Git page to the docs so that we have somewhere to
link to from the Git upsell within Zed.

Release Notes:

- N/A

Change summary

crates/extensions_ui/src/extensions_ui.rs |  5 ++++-
docs/src/SUMMARY.md                       |  1 +
docs/src/git.md                           | 10 ++++++++++
3 files changed, 15 insertions(+), 1 deletion(-)

Detailed changes

crates/extensions_ui/src/extensions_ui.rs 🔗

@@ -940,7 +940,10 @@ impl ExtensionsPage {
 
         v_flex().children(self.upsells.iter().enumerate().map(|(ix, feature)| {
             let upsell = match feature {
-                Feature::Git => FeatureUpsell::new("Zed comes with basic Git support for diffs and branches. More Git features are coming in the future."),
+                Feature::Git => FeatureUpsell::new(
+                    "Zed comes with basic Git support. More Git features are coming in the future.",
+                )
+                .docs_url("https://zed.dev/docs/git"),
                 Feature::Vim => FeatureUpsell::new("Vim support is built-in to Zed!")
                     .docs_url("https://zed.dev/docs/vim")
                     .child(CheckboxWithLabel::new(

docs/src/SUMMARY.md 🔗

@@ -20,6 +20,7 @@
 - [Assistant Panel](./assistant-panel.md)
 - [Channels](./channels.md)
 - [Collaboration](./collaboration.md)
+- [Git](./git.md)
 - [Tasks](./tasks.md)
 - [Remote Development](./remote-development.md)
 - [REPL](./repl.md)

docs/src/git.md 🔗

@@ -0,0 +1,10 @@
+# Git
+
+Zed currently supports the following Git features:
+
+- Diff indicators in buffers and editor scrollbars
+- Git status in the project panel
+- Branch creating and switching
+- Git blame viewing
+
+More advanced Git features—like staging and committing changes or viewing history within Zed—will be coming in the future.