My introduction to Github
Learning github so I will have the ability to work with a team of Unity developers was something I couldn’t wait to jump into. The reason why using github is so necessary to development between members on a team is its version control system. It allows members of your team to work seamlessly collaborating on a project without compromising the integrity of the original project.
First, install github onto your computer by visiting https://git-scm.com. Click the download button for your type of computer.
Second, follow instructions and select the default options for git. Once git is installed, create your github account.
Third, click the new button to create a new repository.
Give a name that’s relevant to your project. Then write what the repository is about in the description box. Select either “public” or “private” as to how the repository will be made available to others.
Use the gitignore file already provided by selecting the checkbox and typing Unity into the search box, then click on Unity. This will prevent Unity from collaborating files that we don’t need like library files and temp files.
If you need to change the branch’s name, go to “Settings” to change the default branch from “main” to “master”. This is done if your development team uses the master branch as its main branch as it was the industry standard for a long time. Last year, github changed repositories to “main” as part of the company’s effort to remove unnecessary references to slavery and replace them with more inclusive terms.
Finally, click on the “Create repository” button, and the new repository will now be created. You will see your name and the repository name, plus you will see your first commit which will be your gitignore file. Next step, linking this repository to the project on your local machine.