Skip to main content
Category
Technologies

Git Tutorials

Our Git tutorials provide version control tips for data science. Learn more about Git, including how-tos, workflows, & features of the latest release.
Other technologies:
Git

Git Squash Commits: A Guide With Examples

Learn how to squash commits on a branch using interactive rebase, which helps maintain a clean and organized commit history.
François Aubry's photo

François Aubry

November 5, 2024

Git

Git Revert Merge Commit: A Guide With Examples

Learn how to safely undo a Git merge using `git revert`, preserving commit history and resolving potential conflicts.
François Aubry's photo

François Aubry

November 5, 2024

Git

Introduction to GitHub Codespaces

Discover GitHub Codespaces, the development environment that allows you to write, run, and deploy your code anywhere.
Adejumo Ridwan Suleiman's photo

Adejumo Ridwan Suleiman

September 24, 2024

Git

Git Checkout Remote Branch: Step-by-Step Guide

To git checkout a remote branch, you first need to fetch the latest changes from the remote repository, then you can checkout the remote branch locally using its full name (e.g., origin/branch-name).
François Aubry's photo

François Aubry

September 18, 2024

Git

Git Switch Branch: A Guide With Practical Examples

Learn how to switch a branch in Git using git switch and understand the differences between git switch and git checkout.
François Aubry's photo

François Aubry

September 11, 2024

Git

Git Prune: What Is Git Pruning and How to Use Git Prune

Git prune is a Git command that removes objects from the repository that are no longer reachable from any commit or branch, helping to free up disk space.
François Aubry's photo

François Aubry

August 28, 2024

Git

Git Rename Branch: How to Rename Local or Remote Branch

Learn how to rename local and remote Git branches using either the terminal or the graphical user interface (GUI) of popular clients like GitHub.
François Aubry's photo

François Aubry

August 7, 2024

Git

Git Pull Force: How to Overwrite a Local Branch With Remote

Learn why git pull --force isn’t the best way to overwrite a local branch with the remote version, and discover the proper method using git fetch and git reset.
François Aubry's photo

François Aubry

August 6, 2024

Git

Git Clone Branch: A Step-by-Step Tutorial

To clone a specific branch, use the command git clone --single-branch --branch , replacing with the desired branch and with the repository's URL.
François Aubry's photo

François Aubry

June 27, 2024

Git

How to Clone a Specific Branch In Git

Learn how to clone only a single branch from a Git repository to save disk space and reduce cloning time.
Bex Tuychiev's photo

Bex Tuychiev

June 23, 2024

Git

Git Reset and Revert Tutorial for Beginners

Discover how to use Git reset and revert to manage your project history. Practice with detailed examples using soft, mixed, and hard resets. Learn the difference between Git reset and revert.
Zoumana Keita 's photo

Zoumana Keita

October 1, 2024

Git

How to Resolve Merge Conflicts in Git Tutorial

Learn various commands and tools for merging two branches and resolving conflicts in Git, an essential skill for data scientists.
Abid Ali Awan's photo

Abid Ali Awan

May 6, 2022