Extract path into variable

Extracted path to .git folder into variable for clarity.