From the course: Programming Foundations: Version Control with Git (2020)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Working with a repository

Working with a repository

From the course: Programming Foundations: Version Control with Git (2020)

Start my 1-month free trial

Working with a repository

- [Instructor] In the last exercise, we added our existing repositories to the Sourcetree app. We can now move between our local repositories by clicking on a project in the bookmarks list. This is basically like changing directories in the command line. We can also create new repositories with Sourcetree as well. Under the new dropdown menu, there are several options. Clone from URL serves the same function as the Git clone command. Source URL refers to the repo's URL. I've already copied one of my remote repositories just for demonstration. Sourcetree now recognizes this as a Git repo. This destination path is where you want to save your projects, so our Git projects folder, and the name just refers to what you'll see in the bookmarks list. It prepopulates to match the remote repo. But the repository folder itself will clone using the same name as the remote directory. I've already cloned this repo so I'll just…

Contents