In this article, I have cloned one project from Git , created one branch called feature/ticket2 in local,made some changes in ticket2 branch ,then pushed to github.

After that you can see the ticket2 branch pushed to github. Then you can merge the ticket2 branch to master branch.

Please follow the below steps .

Step1: Clone 
             open cmd & go to cd /Applications/MAMP/htdocs.
git clone

Step 2: git branch

step 3: create new branch & change your code in that branch.
git checkout -b feature/ticket2

        Switched to a new branch ‘feature/ticket2’
Step 4: Then you can change your required files. Then you will commit that files . Then push to github.
Step 5: you can check which files has been changed by the following command.   

git status   

It will show you which files has been modified as follows. 

modified:  hello.txt
Step 6: then you have to add that file.

git add hello.txt
Step 7: After add, you have to commit that file.       

git commit -m “committed ticket2”     

The text in “” is comments for reference. 

Step 8: Now you can check the status by 

git status 

Step 9: Now push the file to Github 

git push origin feature/ticket2
Step 10: Now open github.

Open your repository which you have cloned. Then go to  

       Pull requests->New Pull Requests.       

  Choose base & compare branch. 

     Then create pull Request->Merge pull Request. 

     Now you can check that the master branch is updated with latest code.