git: ignore files generated by compilation

Signed-off-by: Patryck Rouleau <pfrouleau@gmail.com>
fix: must copy path into partclone's structure
fix printf() warnings