- Use the following links to download git, webstorm and github.
Download links: Git: https://git-scm.com/downloads
Webstorm: https://www.jetbrains.com/webstorm/download
Create a github account online: Github: https://www.github.com - Connect Github to webstorm: In webstorm go to settings by pressing (Strl+Alt+S) and navigate to system prefences.
- Then click on Version control which will show a drop down list. Cick git and change the path from git.bin to git.exe .
- Create a new project: Create a new project,choose a location and give a project name.
- Create a Repository: Create a new repository by clicking the + sign on the upper right corner. Make it public and add the readme file option.
- Create a repository from webstorm: In Webstorm click VCS located on the ribbon and choose enable version control integration. Select Git for the root option.
- Commit files: Click VCS->Git->Commit file. For the first commit ever a dialog box will open, set the github username and email address. Add some comment and then commit.
- Add project to Github:Click VCS->Share project on Github and then click share.The file will be shared to your github account repository.
- If all goes well the file will be available online at your github account.
- Branch: A branch is essentially a unique set of code changes with a unique name.
- Clone: A clone is a copy of a repository that lives on your computer instead of on a website's server somewhere, or the act of making that copy.
- Commit: A commit is an operation which sends the latest changes of the source code to the repository.
- Fetch: It downloads commits, files, and refs from a remote repository into your local repo.
- Git: Git is an open source program for tracking changes in text files.
- Github: GitHub provide a service to an entire organization and use their own identity when performing their function.
- Merge: Merging takes the changes from one branch (in the same repository or from a fork), and applies them into another.
- Merge Conflict: A difference that occurs between merged branches. Merge conflicts happen when people make different changes to the same line of the same file, or when one person edits a file and another person deletes the same file.
- Push: To push means to send your committed changes to a remote repository on GitHub.com.
- Pull: Pulling a branch means to fetch it and merge it.
- Remote: This is the version of a repository or branch that is hosted on a server, most likely GitHub.com.
- Repository: A repository is the most basic element of GitHub. They're easiest to imagine as a project's folder. A repository contains all of the project files (including documentation), and stores each file's revision history. GitHub (2021) GitHub glossary. Retrieved September 28, 2021 from https://docs.github.com/en/get-started/quickstart/github-glossary
Git(2021) gitglossary Documentation. Retrieved September 28, 2021 from https://git-scm.com/docs/gitglossary
HubSpot Careers(2021) An Intro to Git and GitHub for Beginners (Tutorial).Retrieved September 28, 2021 from https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners