Welcome!
TIL
Apps
Getting file from another branch
Quite simple:
$ git checkout $branch $filename
source
View on Github