top of page

GIT as version control for the QA Team

Learning about GIT and version control is the most essential for any QA since it is part of QA’s daily activities. Please join the journey of learning GIT and GIT Hub with me. I will be going through a few important points on how to successfully share your projects using GIT. Following these best practices will result in successful teamwork and gain power towards the effectiveness of controlling the test code and also the application code.

What are GIT and GitHub?

Git is one of the most popular open-source Version Control Software that enables all the teams involved in software development to manage changes to code and files over time, but also allows them to work on the same project simultaneously. Git provides a local copy and changes are copied from one such repository to another.

GitHub is an online platform where we can share our codes/projects online. It also allows better collaboration and faster development and gives you a complete history of your digital assets. Employees or contributors of the project can contribute from anywhere irrespective of the different geographical locations through this VCS.

GIT Workflow

Now let’s see how to use the Git version system. Before we go through the workflow install Git and create a GitHub account on its official website After successfully creating a GitHub account you can start creating your own repository or fork, clone, or checkout repositories created by others.

Create a Repository

Creating a repository can be done via either the command line or GitHub. In this blog, you will learn how to create a repository via GitHub.

· Log in with your GitHub account and select “New repository” on the right upper top of the dropdown menu next to the + button. Give an appropriate, unique, and meaningful name for your repository.

· Next, select Initialize repository and then click Create repository. Congratulations on creating your new repo! This will be the Remote Repository


Now it is time to commit and push the code from the local repository to a remote repository. The local repository is the local code on your computer. Everything you build, develop and update is your local code. The Remote Repository is the one you created on GitHub.

Let's look into the process

· Open your Eclipse go to the workspace/Project and right-click, from the menu select Team and then select Remote, and then select Push.

· In the next window give the URI of your repository and Authentication.

· Next Select the Source ref as the master branch i.e. default branch. Destination ref will be automatically populated. Add Spec refs if any and after that click on the Finish button.

Your new Remote Repository has initially committed code. If you want to share your project with your teammates you can share your repository. They can also gain access to the repo when added as collaborators.

Fork a Repository

Fork is an operation of creating a copy of the repository in which changes are supposed to be made and reflected without affecting the original project. There is a connection that exists between the fork of a repository and the original repository itself. It acts as a bridge between the original and the personal copy of the repository where we can make changes. After changes, we can contribute back to the original repo using Pull Requests. The master branch on GitHub can be checked out via Command Line or Eclipse.

Let’s see how to check out via Eclipse. 

· Open any repository on GitHub

· Click the Fork button in the header of a repository

· After some time the forked copy of the project will open on your GitHub account.

· Now click the green colored “Code” tab and copy the HTTPS link of this forked repo.

· Next, go to the left upper corner of your eclipse, click on File, and select Import.

· To select an import wizard, choose Projects from Git (with smart import) and click next.

· Under Select Repository Source select Clone URI and click next.

· Then paste the HTTPS code that you copied previously into the URI tab, fill up the Authentication section (User & Password), and click next.

· Next is Branch Selection, you choose the correct branch (master), then choose the first option under the Tag Fetching strategy on the same window and click next.

· In this window, you have to configure the local storage/Destination on your computer and click next. In the next window, you confirm the import of projects in the IDE once after you verify the folder and click finish.

· You can successfully see the project folder on your Eclipse workspace. You can start making changes to this project and commit and push it back to the remote repository on your GitHub account.

· Select Pull requests from the header and click Create a new pull request in the top right corner to create a PR.

Clone a repository

Cloning a repository creates a local copy on our computer. We cannot contribute to the repository unless we are made the collaborator of the repository. Cloning is ideal when one gets his copy of the repo where one may not be contributing to the original project. Follow the below steps to clone a repo

· Open a repository on GitHub that you wish to clone

· Click on the code button to get the repository’s HTTPS URL

· Go to Eclipse, select import and the Next steps are similar to the steps mentioned in Forking.


In this article, we learned about Git and GitHub, concepts of local repositories and Remote repositories, and how to create, fork, and clone a repository. In addition to this GIT provides so many more actions, facilitating the Version control of your code across your team.

18 views0 comments

Recent Posts

See All


Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page