I have two copies of my programs, one in a Mac laptop and another in an Ubuntu machine. To eliminate inconsistency, I want to copy these programs to my Bitbucket repository and subsequently work only on this to ensure version control and consistency. How do I copy the set of source files from (a) Ubuntu machine and (b) Mac laptop?