Working with Git Steps to set up a local repository: Initialize with git init Stage your files with git add . Commit the files with git commit -m "init"