Como verificar se o Git é inicializado ou não

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