Remove potential unary operator expected warnings

- Add quotes around parameter-based variables ($1, $2) so that
  their omission did not result in unary operator expected errors
- Add a check for the number of parameters for the "checkout"
  command
Merge pull request #5 from DavidJFelix/master

Remove possible unary operator errors