Create a new repository at GitHub

In this video, we take a look at getting our first repository setup at GitHub. If this is not new to you, then you may feel free to just skip over this lecture. If you've never done this before, then I hope you will find the information in this video useful.

When working with our files/code we need to have a remote repository so that the data is not just stored on our machine. Could we get by without a central location? Of course, but only if we are the only one using the files, and we'd be losing out on a lot of useful things that a remote repository offers. For example, putting our code on a remote repository gives us the chance to restore to any machine, at any time. Not only that, be we can easily make changes on one or more machines at different times or the same time, and then we can make sure that no changes are lost using branching and merging.

The REMOTE repository will be the centralized location, and we'll clone and/or create repositories to work with on our LOCAL machines. We'll set up our LOCAL repositories so that they track to REMOTE. This is how we'll be able to move changes from REMOTE to LOCAL and LOCAL to REMOTE.

For our course, we'll need a central repository stored at GitHub, and this video shows how we go about getting it setup. If you can't quite follow along the first time, don't worry: The activity that follows will get us setup for our course.

Discussion

0 comments