Download Unity Hub. Technically optional but HIGHLY recommended.
Download Unity Version seen above
Create a GitHub Account
Send your username to Quinn Hughes.
Download GitHub Desktop and sign in. Wait until you're whitelisted to continue with the next steps
Second Steps:
Accept the invitation to collaborate on GitHub.
Get the repository. Use the options Clone repository from internet > from URL > https://github.com/QuinnH3333/FriendlyFire > it will create its own folder named "FriendlyFire" in your drive so pick where it goes.
Open Unity Hub > Projects tab > add project from disk > Locate FriendlyFire folder
Brush up on Git terms and Branches workflow, and you're off!
Branch > Rebase current branch > Select Main Branch, sort out any conflicts here (this updates your branch with anything in main)
Push branch to Origin (If you don't do this specifically in this order, you will be working on an outdated branch. Also, when you try to merge in your branch later, you'll get some scary dialogue boxes.)
Steps for merging a branch:
Commit all changes, fetch
Create a safety branch based on your branch with all the changes
Branch > Rebase current branch > Main, sort out any conflicts here
Push
Checkout Main, on main branch, select Branch > Merge into current branch > your branch
Check that the merge was successful, then delete all branches you're not working on
Steps for resolving a conflict:
Know which file has been changed, and which version you'd like to keep
In the dialogue box, click the dropdown (yours might have a different title)
Select either “Use the modified file from …” and hit Continue rebase (Just know that it will overwrite the file on whatever branch is being updated. Since I'm rebasing my branch the overwrite will affect my branch, not Main. When I merge my branch into Main it will overwrite the file in Main because that is the branch getting updated.)
Task-oriented. Merge ONLY when you've fixed anything you broke and when your task is done. This should probably be once a week, give or take a few days.
¶ Can I merge into main and keep working on my branch?
Yes! Although I didn't show it you can. I'd recommend deleting your safety branch once you're certain everything merged correctly. If Main is updated with more stuff after you merge, do rebase your branch!