added ~/.gitconfig creation on failed restoring