Merge pull request #183 from bpedersen2/master

Only send selected change data back to the server
Use modified ref for building

For modifications to the repository, use the modified ref, not FETCH_HEAD.