mkdir workplace cd workplace #copy allfiles you want to modify here git init git add file.qml # or any other files git commit -m "Init" #make changes in file.qml and any other files git diff > unified_diff.patch