Makefile: clean git branch before building Upstream-commit: ac2f4dd71b9d1e7d028bf3e7cb3b662c109c5836 Component: engine