added default branch resolving to master
changed setup of mail & user to be local instead of global
added fetch before pull
added logging
built previous commits