Skip to main content


Using Git commands using Katalon

Istock 536316429

Publish a non-Git local project as a Git repository.

Share Project is a step in the process of configuring Git for your new Katalon Studio project.

  1. In the main toolbar, select Git > Share Project.Picture1
  2. The Katalon project generates .git folder and gitignore files.


Users can view all current changes and choose which ones are saved in the local branch by using the Commit option. Refer to this Git document for more information on the commit command: Commit.

  1. In the main toolbar, navigate to Git > Commit.Picture2
  2. The Git Staging tab is displayed for configuration.Picture3
  3. Select the changes to be committed from the Unstaged Changes list, then right-click on them and select Add to Index. Selected changes are added to the list of Staged Changes.
  4. Fill out the Commit Message with your comments, then click Commit to save your staged changes to the local branch.



Retrieve all information about changes made in remote branches. Refer to the Git documentation for more information on the fetch command: Fetch.

In the main toolbar, navigate to Git > Fetch.Picture4

Remote branches, tags, and changes are automatically fetched.Picture14

In the main toolbar, click History.


Details regarding all the branches and tags you’ve just fetched are displayed.



Changes from a remote repository should be incorporated into the current branch. Refer to the Git documentation for more information on the pull command: git pull.

  1. In the main toolbar, select Git > Pull. The Pull dialogue box opens.Picture8
  2. In the Pull dialog, select the remote branch to be pulled into your local branch. Click Finish.Picture9
  3. The Pull Result dialog displays all data about pulling requests on the selected branch.



Using the local branch, update the remote branch. Git documentation: Git Push contains more information on the push command.

You must first commit your changes before proceeding with any push.

  1. Select Git > Push from the main toolbar.Picture11
  2. The Push to Branch dialogue box appears. Select the branch to be updated from the Remote branch list (All remote branches in your Git repository are listed here).Picture12

After you’ve finished selecting your remote branch, click Next. The Push Confirmation dialogue is displayed.

If you enter a name other than the ones listed, a new remote branch with that name is created.

The Push Confirmation dialogue displays information about your commit.Picture13

Click on Finish to push your commits to the remote repository.


We now have an understanding of using Git commands using Katalon.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Rutwik Surjuse

Rutwik Surjuse works in Quality Assurance at Perficient, based in Nagpur, India. He is experienced in automation, AEM, and manual testing. Rutwik likes to learn and explore different types of technology and share his findings with the world.

More from this Author

Follow Us