Back to Settings

Git Branch Statusline

Settings statusline 2,093

Display current model, directory, and git branch with change indicators in the status line. Shows model name, folder name, active branch, and count of uncommitted changes for complete development context.

Install Command
npx claude-code-templates@latest --setting statusline/git-branch-statusline
View on GitHub
claude-code — git-branch-statusline

Content

JSON
{
"description": "Display current model, directory, and git branch with change indicators in the s..."
"statusLine": {
"type": "command"
"command": "bash -c 'input=$(cat); MODEL=$(echo "$input" | jq -r ".model.display_name"); DIR..."
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.