control tool used by developers around the 🌍 . It lets you manage and keep track of your source code history. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.
ﬁnd ﬁles / folders you don’t want people to look into. These can be some passwords, API Keys and stuff like that. You don’t have to commit these ﬁles to your Git repository. Just add a .gitignore ﬁle in your working directory and mention the ﬁles that you don’t want to commit inside it. Git will automatically ignore all the ﬁles you write inside the .gitignore
to your GitHub Account. 1. Create a new repository by clicking on the ➕ icon in your Account 2. Add a remote origin to your local repository - $ git remote add origin https://github.com/<user>/<repo>.git 3. Push your local repository to remote $ git push -u origin master
project you’d like to work on 2. Fork the repository of that project into your own Account 🍴 3. Clone repository in your system - git clone <repoURL> 4. Code 5. Create a new branch to work upon - git branch veriﬁcation-module 6. Add these changes to staging - git add . 7. Commit your code - git commit -m “Add Veriﬁcation Module” 8. Push code to YOUR remote repository 👉 9. Create a Pull Request 10. Wait for maintainers to merge your code ⌛
where software packages are stored (generally) Commit - A snapshot of the current state of your code Push - When you upload a Local repo to a Remote repo Pull - When you Pull code from somewhere, like a Remote Repo Pull Request - A request to the maintainers of a repo to merge your code