  We construct a well-behaved stable category of modules for a large class of
infinite groups. We then consider its Picard group, which is the group of
invertible (or endotrivial) modules. We show how this group can be calculated
when the group acts on a tree with finite stabilisers.
