add for loop to sync.sh and update comments

Changes to be committed:

	modified:   lib/base.lib
	modified:   lib/git.lib
	modified:   lib/software.lib
	modified:   sync.sh