Returns true if the .git directory tree is clean (no uncommitted changes).
Optional
The directory to check.
True is the .git directory is clean.
Returns true if the .git directory tree is clean (no uncommitted changes).