Using Git list all changes on file on all remote branches

I would like to know all commits and branches that changed some file in my project. We are working in a big team and there are lots of feature branches that are live work in parallel. I would like to see if somebody else is working on the same file at this moment and it will merge it to develop in the future. It is important to include all remote branches and not just my local branches. How I can accomplish this?


The following command will show you all commits that modify a given file, while excluding all commits that are already merged to the develop branch:

git log --all --not develop -- '/path/to/file'