© Ted Hagos 2022
T. HagosBeginning IntelliJ IDEAhttps://doi.org/10.1007/978-1-4842-7446-0_10

10. Source Control

Ted Hagos1  
(1)
Makati, Philippines
 
In this chapter, we will cover the following:
  • A brief introduction to Git

  • Basic operations in Git

  • How to set up a local Git repo

  • Publishing your project on GitHub

When you’re working with other developers, you need a way to share your code with others and share their codes in return. Even if you’re working alone, you’ll need a way to track the changes you’ve made to the codebase over time. These are the primary reasons why you need to use source control.

IntelliJ can work with various source control systems, for example, Git, CVS, SVN, Mercurial, and TFS. Git is a widely used version control system, and it's ...

Get Beginning IntelliJ IDEA: Integrated Development Environment for Java Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.