Welcome! 🎉
This repository is a complete beginner-friendly guide to learning Git & GitHub.
It contains simple explanations, easy-to-follow examples, and ready-to-use snippets for learners of all levels.
- What Git and GitHub are, and why we use them.
- How to install and configure Git.
- The basic Git workflow: initialize, add, commit, push.
- How to create repositories, clone, and manage files.
- Using branches, merges, and rebases.
- Working with remotes, forks, and pull requests.
- How to undo mistakes safely.
- Core concepts like
.gitignore,.git/, and commit history.
-
README.md – This main guide.
-
LICENSE – MIT license for this project.
-
CONTRIBUTING.md – Guidelines for contributing.
-
CHEATSHEET.md – Markdown to display Git cheat sheet images.
-
public/ – Cheat sheets images.
-
guides/ – Introduction to Git & GitHub:
01_introduction.md02_setup.md03_glossary.md
-
snippets/ – Practical command guides:
01_create_repository.md02_init_remote.md03_stage_commit_push.md04_file_states.md05_branches.md06_merging.md07_undo.md08_next_basics.md09_fork.md10_merge_rebase_remote.md
- Clone this repository to your computer.
- Begin with introduction.md to understand Git & GitHub.
- Continue to setup.md to install and configure Git.
- Explore snippets/ for practical command guides.
- Use the cheat sheets in the public folder for quick reference.
We welcome contributions! You can:
- Fix typos or improve explanations.
- Add new commands or examples.
- Enhance cheat sheets or visuals.
Please see CONTRIBUTING.md for full guidelines.
This project is licensed under the MIT License. See LICENSE for details.
Made with ❤️ by Akshat Garg to help beginners learn Git & GitHub easily and efficiently.
💡 Tip: Bookmark this repository and use it as a reference while working on projects or learning Git commands.