# git setup > Create a Git repository in a specific directory and commit all files. > Part of `git-extras`. > More information: . - Create a Git repository in the current directory and commit all files: `git setup` - Create a Git repository in a specific directory and commit all files: `git setup {{path/to/directory}}`