Contains a test class showing some simple JGit use cases:
- Initializing a (local) repository
- Adding a file
- Performing a commit
- Creating a branch
- Merging a branch (with or without conflicts)
- Checking out a specific revision
- Getting all changes to a file over multiple commits
- Getting all commits that contain changes to a specific file
Clone this repository and run "mvn clean install" from inside the directory. Requires Java 8.