This is my Git status.

Because of some weird reason, master and task-e branches are broken. They can’t be build now.
Only 6f374ed94ad7f04b1f7a2ca2019374bb7785d9e6 commit is valid.

I would like to make this commit to lastest commit of master branch. How do I do?
It’s not completely clear from your question, but I assume that what you want is to add a new commit whose source code is exactly the same as at the older commit,
6f374ed9. (In other words, you want to avoid rewriting history, since obviouslymasterandtask-ehave been pushed to GitHub.) This takes a few steps in git, which are described in this question. To summarize that, firstly make sure that you have no uncommitted changes (i.e.git statusis clean). You would then need to do:Then, to update
task-eas well, you can do: