```bash sha=`git log --all --format=format:%H -n 1 -- .npp.json` git branch --contains "$sha" | head -n 1 | tr -d " *" ```