Added function and example to get planfile from git