Clone Git Repository Using Sourcetree


Welcome to this tutorial on using Sourcetree to clone a repository located on GitHub.

In this tutorial, we will cover the following topics.

Introduction

As an SDET, there will come a time when you will need to collaborate with other team members on an automation project. The way in which this is accomplished is by storing the automation project in a central location where all the team members can have access to it. This allows teams to be more effective since everyone can collaborate at the same time without having to wait for other team members.

In this post, we will take a look at two very common tools for accomplishing this task. These tools are GitHub and Sourcetree. Let’s being by taking a look at what these are.

What is a Git repository & what is GitHub?

A repository (or repo) is a place to store a development project. It may contain folders and files (HTML, CSS, JavaScript, documents, data, images).

GitHub is one of many code hosting platforms for collaboration and version control. It allows teams to work together on projects. GitHub may be used to store repositories.

What is Sourcetree?

Sourcetree is a simple and powerful tool that allows you to manage Git repositories. It offers an easy to use Graphical User Interface (GUI) client.

How to clone a Git repo

Before cloning a Git repo, you will need to download and install Sourcetree. Once Sourcetree is installed, you are all set to begin cloning your first Git repo.

The following video will show you how to clone a repo from AUTOMATENOW GitHub page so that you can start working on it on your machine.

Conclusion

It is important that you become comfortable using tools such as GitHub and Sourcetree as it will enable you to work well within a development team.

References
W3Schools

Leave a Reply