Web development
Git and GitHub for Beginners
Beginner course with English explanations and Khmer support.
English · beginner · 8 lessons
Start learning →Version Control and Repositories
Version Control and Repositories →Git tracks versions of files in a repository. GitHub is a hosting and collaboration service for Git repositories. A repository can be local, remote, or connected to both. Version control helps you ins
Status, Staging, and Commits
Status, Staging, and Commits →git status shows changes. git add stages selected changes, and git commit records the staged snapshot with a message. Review the staged content before committing and never commit passwords or private
Reviewing a Commit Before Saving →Run git status to identify changed files. Stage only the intended files with git add, then use git diff --cached to inspect the staged changes. A commit records the staged snapshot. Check for private
History and Differences
History and Differences →git log shows commit history and git diff shows differences. Review changes before saving a commit. A commit identifier can help you locate a specific snapshot; reading history does not change files.
Branches and Merging
Branches and Merging →A branch provides a named line of work. Create a branch for a change, commit your work there and merge when ready. A merge conflict occurs when Git cannot combine changes automatically; inspect the co