Find the project root by looking for .git directory.
Walks up the directory tree from start_path (or cwd) looking for a .git directory, which indicates the project root.
| Name | Type | Description |
|---|---|---|
start_path | Path | None | Default: NoneDirectory to start searching from. Defaults to current working directory. |