Git
Git installation, configuration, branching workflows, and common commands.
.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.

How to Set Git Username and Email with git config
Set Git username and email with git config, both globally and per repository, check the current values, and update existing settings.

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.

How to Change a Git Remote's URL
Change a Git remote URL with git remote set-url, switch between HTTPS and SSH, set separate push and fetch URLs, and verify the change.

How to Remove Untracked Files in Git
Step-by-step guide to removing untracked files and directories in Git using git clean, with dry run, interactive mode, and ignored file cleanup.

How to Remove a Git Remote
Remove a Git remote with git remote rm, verify the change, and understand what happens to tracking branches and the .git/config file.

How to Install Git on Ubuntu 24.04
Learn how to install and configure Git on Ubuntu 24.04 using apt, the Git PPA, or by compiling from source.



