git branch -m <old-name> <new-name>git rebase --onto <target> <current-base> <your-branch>git checkout <other-branch-name> -- path/to/your/foldergit log -L <start>,<end>:<file> # git log -L 40,43:app.jsgit branch -m <old-name> <new-name>git rebase --onto <target> <current-base> <your-branch>git checkout <other-branch-name> -- path/to/your/foldergit log -L <start>,<end>:<file> # git log -L 40,43:app.js