Improve git repo detection for subdirectories

Also only show current directory's status