Managing GitHub and Git
To get our code onto sites such as PythonAnywhere, first, we need our code to be on a code-sharing platform such as GitHub or GitLab. In this chapter, we will use GitHub. If you are already familiar with uploading your code to GitHub, please skip the following section and proceed to upload the Movies Store code to a new GitHub repository. Otherwise, you can follow along.
To upload our code to GitHub, we will follow the next steps:
- Understanding Git and GitHub.
- Creating a GitHub repository.
- Uploading our code to GitHub.
Understanding Git and GitHub
Git is a distributed version control system designed to handle everything from small to very large projects with speed and efficiency. It allows multiple developers to collaborate on projects by tracking changes to files (https://git-scm.com/).
GitHub is a web-based platform built on top of the Git version control system. It provides hosting for software development projects that use...