I haven't baked pine branches but when I baked pinecones I did it for 20 minutes at 225 degrees Fahrenheit. Keep an eye on them just in case.
Dried branches in cold weather probably won't have any bugs, though, and any laying on the ground shouldn't be sappy.