wie man prüft, ob Git initialisiert wird oder nicht

git rev-parse --is-inside-work-tree
Thankful Trout