Ask a question to get started
Enter to send•Shift+Enter new line
read_git_branch_from_filesystem( path: str | Path, ) -> str | None
path
str | Path
Directory or file path inside a repository.
Read the current git branch from repository metadata.