Step one: Create a github account
- Go to the following link: https://github.com/
- Type in required information
- Hit Create Account
Step two: Create Repository
- Click on the + at the top right
- Click New repository
- Create a name
- Make it public
- Add Readme file
Step three: Downloads
- Download the following:
Github Desktop: https://desktop.github.com/download/
Visual Studio Code: https://code.visualstudio.com/docs/?dv=win64user
Git: https://git-scm.com/downloads
Step four: Set up Github Desktop
- Open download for Github Desktop
- Login to your Github account
- Select on repository to clone
Step five: Set up Git
- Open Git file download
- Allow changes and follow instructions
- Hit next and finish
- Git is ready to be used
Step six: Set up Visual Studio Code
- Open Visual Studio Code download
- Check mark all tutorials and mark all done
- Go back to Github Desktop
- Select Open in Visual Code
- Check mark trust authors and click yes, i trust
- Visual Studio Code is ready to be used
Glossary:
- Branch: a copy of main that allows you to work independently to safely make changes without affecting the code
- Clone: duplicating and downloading everything in a repository
- Commit: record of changes that occur within the code and/or file
- Fetch: updates from a local repository with changes from a remote one without changing the working directory
- GIT:a distributed version control software that saves changes without overwriting previous ones
- Github: a developer platform where developers can share and create their code
- Merge: command that combines changes of a branch or more
- Merge Conflict: a conflict in which the modification of the same branches are merged in the same region of file
- Push: allows the transferring of files between a local and remote repository hosting services
- Pull: combination of merge and merge that updates parts of local repository with the changes made in the remote repository
- Remote: repositories that are not within your local disk that are stored elsewhere
- Repository: stores files that can easily be monitored, changed, and/or organized remotely
References:
https://www.geeksforgeeks.org/what-is-a-git-repository/
https://stackoverflow.com/questions/20889346/what-does-git-remote-mean
https://github.com/git-guides/git-pull