Import a project onto GitHub.
- Before you do anything else, make a backup of your local project!
- Check through all the folders in your local project and if any of them don't have any files in them, add a file to them. This matters when it comes time to push the changes to GitHub, because the push command won't send empty directories. A common practice is to put the empty .gitkeep file into empty directories.
- Grab all available operating-system updates.
- Update the apt database:
sudo apt update
- Configure your git username in place of John Doe's:
git config --global user.name "John"