When a dog is getting ready to give birth, she will often start to dig. This is because she is looking for a place to make her nest. She wants a safe and comfortable place for her puppies to be born and will do what she can to create it.
Dogs usually start digging about a week before they are due to deliver their litter. If you see your dog starting to dig, you can help her by providing her with a box or kennel lined with soft bedding. This will give her a safe place to have her puppies and will save your garden from being dug up!