The path arguments specifies the directory at which to start the search for a git repository. If it is not a git repository itself, then its parent directory is consulted, then the parent's parent, and so on.
See also
Other git:
clean_git()
,
create_draft_pr()
,
is_workdir_clean()
,
new_branch()
,
set_tag()