$ git clone https://github.com/astropy/ccd-reduction-and-photometry-guide.git
Cloning into 'ccd-reduction-and-photometry-guide'...
remote: Enumerating objects: 1162, done.
remote: Total 1162 (delta 0), reused 0 (delta 0), pack-reused 1162
Receiving objects: 100% (1162/1162), 12.74 MiB | 4.54 MiB/s, done.
Resolving deltas: 100% (810/810), done.
error: invalid path 'notebooks/photometry/01.02-IRAF-like:-photutils.ipynb'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
Removing the ":" in those file names fixed the problem and enabled successful cloning of this repository.
Thank you.