Global variables > hard-coded variables
Create  if it doesn't exist already
Initialise git repository if we don't already have one
Suppress error message if this is the first commit
Minor layout change