Git
Git installation, configuration, branching workflows, and common commands.
How to Undo Last Git Commit
Undo the last Git commit with git reset or git revert, and pick the right option to keep your changes, discard them, or safely undo a pushed commit.

How to Setup a Git Server
Run your own private Git server over SSH on Linux. This guide covers installing Git, creating the git user, adding SSH keys, and pushing your first repository.

How to Change a Git Commit Message
Change or edit the last Git commit message with git commit --amend, or reword older commits with an interactive rebase. Covers pushed and unpushed commits.

How to Rename a Git Branch: Local and Remote
This guide shows how to rename a Git branch locally and on the remote using git branch -m, then push the new name and delete the old remote branch.

How to Revert a Commit in Git
Use git revert to safely undo changes from a previous commit by adding a new commit that reverses them, without rewriting pushed history.

.gitignore: Ignore Files and Folders in Git
Use .gitignore to ignore folders, files, logs, and build output in Git. See folder patterns, global rules, tracked-file cleanup, and debugging commands.

git branch Command: Create, List, and Delete Branches
The git branch command creates, lists, renames, and deletes Git branches. This guide explains the full command reference with practical examples for local and remote branches, merged filters, and tracking upstream branches.

git fetch vs git pull: What Is the Difference?
git fetch and git pull both download changes from a remote repository, but only one updates your current branch. This guide explains the difference, when to use each command, and how to avoid merge surprises.

git cherry-pick Command: Apply Commits from Another Branch
How to use git cherry-pick to apply commits from one branch to another, including single commits, ranges, conflict handling, backports, and merge commits.

How To Delete a Local and Remote Git Branch
Git branches pile up fast after merging. This guide shows you how to delete local and remote branches, clean up stale tracking references, and recover a branch you removed by mistake.

git clone: Clone a Repository
How to use git clone to copy a remote or local repository, clone a specific branch, and create shallow clones, with examples for HTTPS and SSH.

git diff Command: Show Changes Between Commits
How to use git diff to compare working directory changes, staged files, commits, and branches — with practical examples and common options explained.

git log Command: View Commit History
How to use git log to browse commit history, filter by author, date, and keyword, view changed files, display branch graphs, and format output for scripts and terminals.

git stash: Save and Restore Uncommitted Changes
How to use git stash to temporarily save uncommitted changes, switch branches, and restore your work — with examples for stashing untracked files, named stashes, and partial stashes.

How to Install Git on Debian 13
Step-by-step instructions for installing and configuring Git on Debian 13 Trixie using apt or by compiling from source.

How to Install Git on Raspberry Pi
Install and configure Git on Raspberry Pi OS using apt or build the latest version from source. Includes configuration steps, troubleshooting, and FAQ.

How to Create and List Local and Remote Git Branches
Create and list Git branches with git branch and git switch, including remote branches, creating from a commit, pushing to remote, and branch filtering.



