Back to tips
Initialize Git Repositories with One Click
Turn any folder into a Git repository directly from the Git panel
When working in a folder that isn’t yet a Git repository, Zed now displays a Git Init button in the Git panel, making it effortless to initialize version control.
How to Use
- Open a project folder that isn’t a Git repository
- Open the Git panel (
Cmd-Shift-9on macOS,Ctrl-Shift-9on Linux/Windows) - Click the Git Init button
- Your folder is now a Git repository, ready for commits
No need to switch to the terminal or remember Git commands.
Why This Matters
Faster Setup: Start tracking your code in seconds without leaving the editor.
Beginner Friendly: No need to remember git init or use the command line.
Seamless Workflow: Start coding first, add version control when ready.
This is particularly useful when starting new projects or prototypes where you want to focus on coding first and add Git tracking as the project takes shape.