git init Create an empty Git repository or reinitialize an existing one. hints Reinitializing an existing repository will not erase your commit history.