What is Source Control & Git?

Tim Short
A free video tutorial from Tim Short
Dev / Train / Recuit
4.2 instructor rating • 4 courses • 138,518 students

Learn more from the full course

Become a Junior Java Software Developer

Complete practical and conceptual Java programming course for beginners

07:45:34 of on-demand video • Updated August 2017

  • Be comfortable with writing and designing Java applications
  • Apply core concepts of object-oriented programming to a project
  • Build holistic, real-world practical applications from the ground up
  • Write common algorithms covered in computer science courses
  • Talk confidently about Java programming and object-oriented programming
  • Network with recruiters, hiring managers, and tech professionals
  • Walk into your first job interview and code review with confidence
  • Invitation to participate in internship through SDET University!
English [Auto] I welcome back and let's talk about and get as you talk about source control with our projects. So what is it good is all about version control. It's all about managing your updates. Keeping an up to date repository with tracking all the changes that have been made pushing that to an online repository cloud repository keeping the most updated version. And that's especially tricky when you talk about integrating your project with other people if you're on a team with say four or five other developers and testers and so forth and you add different parts of the project to your sharing and working together on how do you maintain the correct version. How do you maintain the versions. How do you also isolate a feature of your application work on it while leaving the original version intact. So that's that's good. It helps us manage all of this get I think we're going to install on our computers a one time install and it integrates with other cloud repositories. The most common we get which is where we're going to be using. But there's also bitbucket there's a couple other ones I get how this again the most pop and it's kind of the standard especially as you are starting out and learning. And make sure you know get how the process can be very simple. Although a lot of people are a little intimidated when they get into using get. Because we're going to enter the command prompt and when you use command prompt lines and so a lot of people they kind of freak out when they see that black screen to type out the command. It's not as intuitive because you don't there's no real user interface. But there's really just a couple of commands that we're going to cover and there's an initial setup that we're going to get our project hooked up in sync with gets and then our repository. And then we're basic going to download updates update of files and then push update files to the cloud. And so there's really just two different processes once you initialize are going to download an update. And so we're going to go through that process together. Just a quick overhead here we're going to configure get to our machine so it's going to be specific to you. You can configure your kit for each project. We'll also configure the project or configure it globally. So for all projects the second process is going to create a good repository. So I'm going to walk you through how to create a good repository if you don't have an account we'll create an account together then you're going to push your code to get help. There's just three commands for that. And then we're going to work with branches so branches are features that we're going to add to our project that we don't want to affect the mass change the master. We want to isolate a feature of our application of our code work on it and then we'll do what's called merging or merge it back to the main master. So all of this I'm sure is a little over your head. But I want to at least give you a picture of where we're going when we talk about source control the commands that Renie's it get getting a cloud repository and working with branches. So join us for the next tutorial.