Create a new branch feature-branch, create a new file, add some content and commit the changes.
git checkout -b feature-branch
vi <file-name>.txt
git add <file-name>.txt
git commit -m "Add new file"
Switch back to the master branch
git checkout master
Merge the feature-branch into the master branch with a message
git merge feature-branch -m "Your custom commit message"