Removed initialization of git config due to an error occured when current dir is not a repo