Git Commands are listed here
Just go to the target branch first then,
git checkout <target-branch>
git cherry-pick dfa266d //here 'dfa266d' is commit hash.
git reset --hard HEAD
git checkout main [Note: First switch to Main branch]
git merge dev_branch
git branch
git status
git log
git checkout put_branch_name_here
git checkout -b put_new_branch_name_here
git add .
git add wasim.txt
To force Git to add the ignored file (application.properties), you can use the -f flag with the git add command, as suggested in the hint:
git add -f application.properties