Claude Code
Git status in every session
Inject git status into every Claude Code session with a SessionStart hook
Claude Code can run a hook whenever a session starts, which makes it the natural place to inject context you would otherwise retype in every chat: current branch, dirty files, open TODOs. The post shows a compact SessionStart command, where to put it, and why capping its output matters for token cost and noise.