resolve_git_context

Function resolve_git_context 

Source
pub fn resolve_git_context() -> GitContext
Expand description

Resolve git context (branch, worktree, commit) from the current directory.

All fields are best-effort: if git is not available or the directory is not a git repo, fields are None.