Transparent Programming: Important Habits for Reproducibility and Research Integrity
Git (/ɡɪt/) is a version control system (VCS) for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for source code management in software development, but it can be used to keep track of changes in any set of files. As a distributed revision control system it is aimed at speed, data integrity, and support for distributed, non-linear workflows. -Wikipedia
Git is an open source program for tracking changes in text files. -github GitHub Glossary
Keeping track of file versions is hard.
Git is a fast and distributed version control system.
Reverting to past save points (commits)
Keeping track of save points (commit messages)
Comparing changes to past save points (diff)
Non-linear workflow (branches)
Fearlessness in making changes
Basics:
Git: Version control software
Repository: Folder with files & structure for tracking changes
Commit: Set of changes to a file
Collaboration:
GitHub: Host for git repositories & collaboration
Local Repository: Version of a git repo on your computer
Remote Repository: Version of a git repo stored elsewhere
GitHub is for:
Storing and viewing Git repositories
Collaborating within an organization
Open Source Collaboration
Web Hosting
And more…
Vocabulary:
Local repository: A folder on your computer
Remote repository: A folder on GitHub
README.md
file Learn Git locally via the command line.
Key Terms: - GitHub: Hosts git remote repositories - Remote: Another repository for synchronization - Clone: Download a remote repository for local use
Clone, edit, commit, and push changes.