What is Git & what is GitHub?
From web developers to app developers, Git and GitHub are useful to anyone who writes code and works with other developers. So what are they all about and why...
Free Git Resources, Shortcuts, Tutorials, & Guides
32 articles in Git
From web developers to app developers, Git and GitHub are useful to anyone who writes code and works with other developers. So what are they all about and why...
Discover the intricacies of initializing a Git repository and enhance your coding skills with our comprehensive courses and bootcamps tailored for all...
To use Git, you must first install it. Installing Git is different on Mac and PC, so follow the appropriate instructions below depending on your operating...
Git allows you to work more easily with other developers. Because you want to know who worked on a file and how to contact them, you need to tell Git your name...
While there is a lot you can do via the command line interface, the main thing you need to know how to do for Git is to navigate to a folder.
Think of Git as keeping a list of changes to files. So how do we tell Git to record our changes? Each recorded change to a file (or set of files) is called a...
There will be some files that you don't want Git to track. You can use a.gitignore file to list the files and/or folders that Git should ignore.
After you have a remote repository set up, you upload (push) your files and revision history to it.
After someone else makes changes to a remote repo, you can download (pull) their changes into your local repo.
When you merge two branches (or merge a local and remote branch) you can sometimes get a conflict. For example, you and another developer unknowingly both work...
Pull requests are a way to discuss changes before merging them into your codebase. Let's say you're managing a project. A developer makes changes on a new...
Sometimes you make a mistake and want to go back to a previous version. Here's how to rollback changes.
If you don't want to merge an entire branch, you can choose to merge specific commits… a process called cherry-picking. Let's look at one scenario when...
The Git Stash as a place to temporarily store that's not ready to be permanently stored in a commit. Let's say you're working on some code that you're not...
As a handy reference, here are a few common Git workflows you'll use.
There are desktop apps (or code editors with Git integration) that provided a graphical user interface (GUI) so you don't have to use the command line.
Storing a copy of your Git repo with an online host such as GitHub or Bitbucket gives you a centrally located place where you can upload your changes and...
When you want to start contributing to a Git repo that has already been created, you can clone it (download a copy) from GitHub, BitBucket, etc.
A ReadMe file is a standard place for instructions or documentation that you want to share with people about a repo. Here's how to add a ReadMe file to your...
Learn how to install Git on your computer, with explicit directions tailored to both Mac and Windows operating systems, to enhance the integration of your...
Discover how to set up Git for collaborative projects by inputting your name and email, allowing other developers to identify your contributions.
Explore in-depth, the nuts and bolts of Git repositories—understanding what they contain, how to initialize one, navigate them using Visual Studio Code, and...
Explore how to track changes with Git, understanding the workflow of staging and committing files, checking the status of your files, and the process of...
Learn how to efficiently create a remote repo on GitHub, upload your local repository, and push your changes for effective collaboration with other developers...
Learn about pulling changes from GitHub, including how to execute the pull command and when it's ideal to do so.
Learn how to contribute to a Git repo that's already been created, clone a Git repo using Visual Studio Code, and give someone access to your private GitHub...
Learn how to resolve merge conflicts in Git by viewing both sets of changes and deciding which to keep, with our step-by-step guide on handling them.
Learn methods to undo changes in your coding, including how to install the Git Graph extension for Visual Studio Code and how to view a list of commits, plus...
Learn to efficiently use Git branches to enhance collaborative workflows, manage multiple versions of code, and seamlessly integrate new features into the main...
Explore how to edit a GitHub repository directly using Visual Studio Code in a web browser without having to download any app or the repository itself.
Git lets you branch out from the original code base. This lets you more easily work with other developers, and gives you a lot of flexibility in your workflow.
From web developers to app developers, Git is useful to anyone who writes code or track changes to files. So what’s it all about and why should you start using...