Learn How to Use GitHub and explore Key GitHub Concepts.
Building on the topics covered in Introduction to Version Control with Git, this conceptual course enables you to navigate the user interface of GitHub effectively. Create public and private repositories, create and modify files, branches, and issues, assign tasks, tag users, review pull requests, and merge branches. Clone and fork repositories and generate private access tokens (PAT).
By Jasmin Ludolf, Data Science Content Developer, DataCamp
Learn all about GitHub, its many benefits, and how it differs from Git. Create a repository and a README file for your data projects.
- What is GitHub
- Cloud-based hosting service
- Benefits of using GitHub
- Storing projects
- Collaborating with others
- Open-source projects
- The difference between GitHub and Git
- Setting up a repo
- Name, description,
.gitignore
, license, access (public/private)
- Name, description,
- Navigating a repo
- Creating a README
- Markdown, headings, hyperlinks, text formatting, images
- Edit vs. Preview
Work with repos in GitHub. Add, modify, and delete files, switch branches, create private repos, add collaborators, and generate Personal Access Tokens!
- Modifying a repo structure
- Creating, editing, deleting, uploading files
- Create directory
- Working with branches
- Enable concurrent work on di erent parts of a project
- Help reduce the risk of con icting le versions
- Creating a branch, switching branches
- Branch protection rules
- Repo access
- Datasets containing personally identifiable information
- Developing or using commercial products
- Private repos
- Collaboration in a private repo -
collaborators
- Personal Access Tokens (PAT)
- An alternative to using passwords for authentication in the terminal
- Required since August 2021 instead of passwords
- Only to access a remote repo using the terminal
- Creating and using a PAT
Various collaboration techniques on GitHub. Different ways to copy a repository, to communicate with your peers on GitHub, and all about pull requests.
- Cloning
- Push changes back to the original repo
- Pull changes into our local version
- Requires use of Git
- Forking
- Copy without a link to the original repo
- Can all be done within GitHub
- GitHub issues
- Creating. assigning, viewing, commenting, quoting
- Linking to another issue
- Assign vs. Tag
- Assign - who should work on the issue
- Tag - Who needs to read the issue
- Pull requests
- A way to notify others about changes and to compare changes
- Allows the repo owner to check changes before they are added
- A successful PR is merging two branches
- Assignee approves the PR
- Reviewer looks at the changes before the PR is merged
- Requesting changes
- Restoring a deleted branch
- Restoring from a closed PR