I’m now moving on to the next project which is a 2.5D game. I’ll need to create the project in GitHub so that I can conveniently see changes in my code and fix it as necessary.
After logging in Github, I created a new project. Make sure that .gitignore is set to Unity so that unnecessary Unity files will not be uploaded to the repository. Then, click the Create Repository button to create the repository.
Do note that GitHub now requires you to pass tokens instead of your password. You will need to generate the tokens from https://github.com/settings/tokens
Click the Generate Token to create a token. The token will be revealed on the next screen.
Copy the token in a safe place and we will use it when we use it to commit our Unity project to Github.